package com.xoa.service.document;

import com.xoa.model.document.DocumentOutSendRecord;
import com.xoa.model.document.DocumentOutSendRecordWithBLOBs;
import com.xoa.util.ToJson;

import java.util.List;

public interface DocumentOutSendRecordService {
    //新增
    public ToJson insert(DocumentOutSendRecordWithBLOBs documentOutSendRecord);

    //删除
    public ToJson delete(Integer recordId);

    //修改
    public ToJson update(DocumentOutSendRecordWithBLOBs documentOutSendRecord);

    //根据已发公文id修改
    public ToJson updateById(DocumentOutSendRecordWithBLOBs documentOutSendRecord);

    public List<DocumentOutSendRecordWithBLOBs> selectByRunId(Integer runId);

    //查询去重的
    public List<String> selectUnidByRunId(Integer runId);
}
